package com.drug.mingkang.permission.model.vo;

/**
 * 描述： 角色Vo
 *
 * @version 1.0
 * @author: wcj
 * @Date: 2020/8/14 19:43
 */
public class PerRoleVo {
    /**
     * 第几页
     */
    private Integer page;
    /**
     * 条数
     */
    private Integer limit;

    /**
     * 角色名
     */
    private String roleName;

    /**
     * 开始时间
     */
    private String startTime;

    /**
     * 结束时间
     */
    private String endTime;

    public Integer getPage() {
        return (page-1)*limit;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        return "PerRoleVo{" +
                "page=" + page +
                ", limit=" + limit +
                ", roleName='" + roleName + '\'' +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                '}';
    }
}
